package org.rcy.framework.pay.config.ali;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(
    prefix = AliPayConfigProperties.PREFIX
)
public class AliPayConfigProperties {
    public static final String PREFIX = "alipay.config";
    /**
     * 访问令牌 每次请求其他方法都要传入的值
     */
    private String appAuthToken;
    /**
     * 应用ID
     */
    private String appId;
    /**
     * 合作者ID
     */
    private String pid;
    /**
     * 收款账号
     */
    private String seller;
    /**
     * 支付公钥
     */
    private String keyPublic;
    /**
     * 支付私钥
     */
    private String keyPrivate;
    /**
     * 异步回调地址
     */
    private String notifyUrl;
    /**
     * 同步回调地址
     */
    private String returnUrl;
    /**
     * 签名方式
     */
    private String signType;
    /**
     * 输入字符集
     */
    private String inputCharset;
    /**
     * 是否是测试环境
     */
    private Boolean test;
    private int maxConnectionTotal;
    private int MaxPerRoute;

    public AliPayConfigProperties() {
    }

    public String getAppAuthToken() {
        return this.appAuthToken;
    }

    public void setAppAuthToken(String appAuthToken) {
        this.appAuthToken = appAuthToken;
    }

    public String getAppId() {
        return this.appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getPid() {
        return this.pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getSeller() {
        return this.seller;
    }

    public void setSeller(String seller) {
        this.seller = seller;
    }

    public String getKeyPublic() {
        return this.keyPublic;
    }

    public void setKeyPublic(String keyPublic) {
        this.keyPublic = keyPublic;
    }

    public String getKeyPrivate() {
        return this.keyPrivate;
    }

    public void setKeyPrivate(String keyPrivate) {
        this.keyPrivate = keyPrivate;
    }

    public String getNotifyUrl() {
        return this.notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getReturnUrl() {
        return this.returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getSignType() {
        return this.signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getInputCharset() {
        return this.inputCharset;
    }

    public void setInputCharset(String inputCharset) {
        this.inputCharset = inputCharset;
    }

    public Boolean getTest() {
        return test;
    }

    public void setTest(Boolean test) {
        this.test = test;
    }

    public int getMaxConnectionTotal() {
        return this.maxConnectionTotal;
    }

    public void setMaxConnectionTotal(int maxConnectionTotal) {
        this.maxConnectionTotal = maxConnectionTotal;
    }

    public int getMaxPerRoute() {
        return this.MaxPerRoute;
    }

    public void setMaxPerRoute(int maxPerRoute) {
        this.MaxPerRoute = maxPerRoute;
    }
}
